package paintball;

import game.GameObject;

public class PaintballPowerup extends GameObject {
	private int powerUpId;
	
	public PaintballPowerup(int x, int y, int powerUpId) {
		super(x, y);
		this.setWidth(32);
		this.setHeight(32);
		this.powerUpId = powerUpId;
	}

	@Override
	public String curImgPath(){
		String result = "";
		switch(powerUpId){
		case 1:
			result = "res/powerup1.png";
			break;
		case 2:
			result = "res/powerup2.png";
			break;
		case 3:
			result = "res/powerup3.png";
			break;
		}

		return result;
	}
	
	public int getPowerUpID(){
		return this.powerUpId;
	}
	
	public void step(){
		this.addRotation(1);
	}
}
